<template>
<view>
    <view class="card-box" v-for="(item,index) in list" :key="index" @click="goDetail(item.Id)">
		<!-- <view>{{item.name}}</view><view>滴滴答滴滴答多</view> -->
        <image :src="item.img?item.img:dimg" mode="widthFix"></image>
        <view class="title-box">
            <view class="time">{{item.atime}}</view>
            <view class="tit">{{item.name}}</view>
        </view> 
    </view>
</view>	
</template>
<script>
	export default {
		data () {
			return {
				dimg:'../../../static/nopic.png'
			}
		},
		props: {
			title: {
				type: String,
				default: ""
			},
			list: {
				type: Array,
				default: []
			}
		},
		methods:{
			goDetail(id) {
                uni.navigateTo({
                    url: '/pages/tabBar/act/actShow?id=' + id
                })
            }
		}
	}
</script>
